/* mobile first approach */

#dz-auth-overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.3);


    z-index: 9999;
    box-sizing: border-box;
    font-family: DINWebPro, "Trebuchet MS", sans-serif;
    font-weight: 400;
    text-align: center;
    overflow: auto;

    -webkit-animation: fadein 0.4s; /* Safari, Chrome and Opera > 12.1 */
    -moz-animation: fadein 0.4s; /* Firefox < 16 */
    -ms-animation: fadein 0.4s; /* Internet Explorer */
    -o-animation: fadein 0.4s; /* Opera < 12.1 */
    animation: fadein 0.4s;
}

#dz-auth-overlay * {
    box-sizing: border-box;
}

#dz-auth-overlay h2 {
    font-size: 18px;
    text-align: center;
    font-weight: 700;
}


#dz-auth-modal {
    position: relative;
    margin: 0 auto;
    display: inline-block;
    min-width: 335px;
    width: 100%;

}

#dz-auth-modal iframe,
#dz-auth-standalone {
    width: 100%;
    min-height: 340px;
    border: 0;
}

#dz-auth-modal iframe {
    background-color: #fff;
}

@media screen and (min-width: 490px) {
    #dz-auth-modal {
        margin: 2% auto;
        max-width: 640px;
        width: 95%;
    }

}

@media screen and (min-width: 875px) {
    #dz-auth-modal {
        margin: 5% auto;
        max-width: 800px;
        width: 85%;
    }
}



@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Firefox < 16 */
@-moz-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Internet Explorer */
@-ms-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Opera < 12.1 */
@-o-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}



@font-face {
    font-family: "DINWebPro";
    font-style: normal;
    font-weight: 400;
    src: local("DINWebPro"), url("./fonts/DINWebPro.woff?#iefix") format("woff");
}
@font-face {
    font-family: "DINWebPro";
    font-style: normal;
    font-weight: 700;
    src: local("DINWebPro"), url("./fonts/DINWebPro-Bold.woff?#iefix") format("woff");
}